package com.share.trigger.api;

import com.share.trigger.api.dto.Raffle.*;
import com.share.types.model.Response;

import java.util.List;

/**
 *  抽奖服务接口
 */
public interface IRaffleStrategyService {
    /**
     * 策略装配接口
     * @param strategyId 策略id
     * @return 装配结果
     */
    Response<Boolean> strategyArmory(Long strategyId);

    /**
     * 获取奖品列表
     * @param raffleAwardListRequestDTO
     * @return
     */
    Response<List<RaffleAwardListResponseDTO>> queryRaffleAwardList(RaffleAwardListRequestDTO raffleAwardListRequestDTO);

    Response<List<RaffleStrategyRuleWeightResponseDTO>> queryRaffleStrategyRuleWeight(RaffleStrategyRuleWeightRequestDTO request);
    Response<RaffleStrategyResponseDTO> randomRaffle(RaffleStrategyRequestDTO raffleRequestDTO);

}
